import xlrd

data = xlrd.open_workbook("/home/god7/Desktop/soa矩阵示例.xlsx",encoding_override='utf-8')

# 获取一个excel有多少个sheet

sheetNames = list(data.sheet_names())

print(sheetNames)